\documentclass[border=5pt, multi, tikz]{standalone}
\usepackage{import}
\subimport{./layers}{init}

\def\InScale{0.05}
\def\XxScale{0.10}
\def\FcScale{0.005}

\begin{document}
\begin{tikzpicture}
    \tikzstyle{connection}=[ultra thick,every node/.style={sloped,allow upside down},draw=\edgecolor,opacity=0.7,->]

    % input
    \pic[shift={(0,0,0)}] at (0,0,0) {Box={name=in0,caption=Input,
    ylabel=224,zlabel=224,xlabel={3,},fill=\InputColor,
    height=224, depth=224, width= 3  ,scale=\InScale}};

    % kernel
    \pic[shift={(0,0,0)}] at (in0-west) {Box={name=kn1,
    ylabel=11,zlabel=11,fill=\InputColor,
    height=22, depth=22, width= 3  ,scale=\InScale}};

    % bottom path:

    % relu
    \pic[shift={(4,-4,0)}] at (in0-east) {Box={name=rl1,caption=ReLU,
    ylabel=55,zlabel=55,xlabel={48,},fill=\ConvColor,
    height=55, depth=55, width= 10  ,scale=\XxScale}};

    \draw [connection] (kn1-east) -- node [above left] {Conv s4} (rl1-west);

    % kernel
    \pic[shift={(0,0,0)}] at (rl1-west) {Box={name=kn2,
    ylabel= 5,zlabel= 5,fill=\ConvColor,
    height=10, depth=10,width=10,scale=\XxScale}};

    % relu
    \pic[shift={(3,0,0)}] at (rl1-east) {Box={name=rl2,caption=ReLU,
    ylabel=27,zlabel=27,xlabel={128,},fill=\ConvColor,
    height=45, depth=45, width=  16  ,scale=\XxScale}};

    \draw [connection] (kn2-east) -- node [above] {Conv} (rl2-west);

    % kernel
    \pic[shift={(0,0,0)}] at (rl2-west) {Box={name=kn3,
    ylabel=3,zlabel=3,fill=\ConvColor,
    height=5, depth=5,width=16,scale=\XxScale}};

    % relu
    \pic[shift={(3,0,0)}] at (rl2-east) {Box={name=rl3,caption=ReLU,
    ylabel=13,zlabel=13,xlabel={192,},fill=\ConvColor,
    height=35, depth=35,width=20,scale=\XxScale}};

    \draw [connection] (kn3-east) -- node [above] {Conv} (rl3-west);

    % kernel
    \pic[shift={(0,0,0)}] at (rl3-west) {Box={name=kn4,
    ylabel=3,zlabel=3,fill=\ConvColor,
    height=5, depth=5,width=20,scale=\XxScale}};

    % relu
    \pic[shift={(3,0,0)}] at (rl3-east) {Box={name=rl4,caption=ReLU,
    ylabel=13,zlabel=13,xlabel={192,},fill=\ConvColor,
    height=35, depth=35, width=  20  ,scale=\XxScale}};

    \draw [connection] (kn4-east) -- node [above] {Conv} (rl4-west);

    % kernel
    \pic[shift={(0,0,0)}] at (rl4-west) {Box={name=kn5,
    ylabel=3,zlabel=3,fill=\ConvColor,
    height=5, depth=5,width=20,scale=\XxScale}};

    % relu
    \pic[shift={(3,0,0)}] at (rl4-east) {Box={name=rl5,caption=ReLU,
    ylabel=13,zlabel=13,xlabel={128,},fill=\ConvColor,
    height=35, depth=35, width=  16  ,scale=\XxScale}};

    \draw [connection] (kn5-east) -- node [above] {Conv} (rl5-west);

    % fc
    \pic[shift={(2,0,0)}] at (rl5-east) {Box={name=fc6,caption=ReLU,
    zlabel=2048,opacity=0.8,fill=\FcColor,
    height=1024,width=30,depth=0,scale=\FcScale}};

    \draw [connection] (rl5-east) -- node [above] {FC} (fc6-west);

    % fc
    \pic[shift={(2,0,0)}] at (fc6-east) {Box={name=fc7,caption=ReLU,
    zlabel=2048,opacity=0.8,fill=\FcColor,
    height=1024,width=30,depth=0,scale=\FcScale}};

    \draw [connection] (fc6-east) -- node [above] {FC} (fc7-west);

    % top path:

    % Relu
    \pic[shift={(4,+4,0)}] at (in0-east) {Box={name=Rl1,
    ylabel=55,zlabel=55,xlabel={48,},fill=\ConvColor,
    height=55, depth=55, width= 10  ,scale=\XxScale}};

    \draw [connection] (kn1-east) -- node [above left] {Conv s4} (Rl1-west);

    % Kernel
    \pic[shift={(0,0,0)}] at (Rl1-west) {Box={name=Kn2,
    ylabel= 5,zlabel= 5,fill=\ConvColor,
    height=10, depth=10,width=10,scale=\XxScale}};

    % Relu
    \pic[shift={(3,0,0)}] at (Rl1-east) {Box={name=Rl2,
    ylabel=27,zlabel=27,xlabel={128,},fill=\ConvColor,
    height=45, depth=45, width=  16  ,scale=\XxScale}};

    \draw [connection] (Kn2-east) -- node [above] {Conv} (Rl2-west);

    % Kernel
    \pic[shift={(0,0,0)}] at (Rl2-west) {Box={name=Kn3,
    ylabel=3,zlabel=3,fill=\ConvColor,
    height=5, depth=5,width=16,scale=\XxScale}};

    % Relu
    \pic[shift={(3,0,0)}] at (Rl2-east) {Box={name=Rl3,
    ylabel=13,zlabel=13,xlabel={192,},fill=\ConvColor,
    height=35, depth=35,width=20,scale=\XxScale}};

    \draw [connection] (Kn3-east) -- node [above] {Conv} (Rl3-west);

    % Kernel
    \pic[shift={(0,0,0)}] at (Rl3-west) {Box={name=Kn4,
    ylabel=3,zlabel=3,fill=\ConvColor,
    height=5, depth=5,width=20,scale=\XxScale}};

    % Relu
    \pic[shift={(3,0,0)}] at (Rl3-east) {Box={name=Rl4,
    ylabel=13,zlabel=13,xlabel={192,},fill=\ConvColor,
    height=35, depth=35, width=  20  ,scale=\XxScale}};

    \draw [connection] (Kn4-east) -- node [above] {Conv} (Rl4-west);

    % Kernel
    \pic[shift={(0,0,0)}] at (Rl4-west) {Box={name=Kn5,
    ylabel=3,zlabel=3,fill=\ConvColor,
    height=5, depth=5,width=20,scale=\XxScale}};

    % Relu
    \pic[shift={(3,0,0)}] at (Rl4-east) {Box={name=Rl5,
    ylabel=13,zlabel=13,xlabel={128,},fill=\ConvColor,
    height=35, depth=35, width=  16  ,scale=\XxScale}};

    \draw [connection] (Kn5-east) -- node [above] {Conv} (Rl5-west);

    % Fc
    \pic[shift={(2,0,0)}] at (Rl5-east) {Box={name=Fc6,
    zlabel=2048,opacity=0.8,fill=\FcColor,
    height=1024,width=30,depth=0,scale=\FcScale}};

    \draw [connection] (Rl5-east) -- node [above] {FC} (Fc6-west);

    % Fc
    \pic[shift={(2,0,0)}] at (Fc6-east) {Box={name=Fc7,
    zlabel=2048,opacity=0.8,fill=\FcColor,
    height=1024,width=30,depth=0,scale=\FcScale}};

    \draw [connection] (Fc6-east) -- node [above] {FC} (Fc7-west);

    % out
    \pic[shift={(2,0,0)}] at (fc7-east) {Box={name=out,caption=SoftMax,
    zlabel=1000,opacity=0.8,fill=\SoftmaxColor,
    height=500,width=30,depth=0,scale=\FcScale}};

    \draw [connection] (fc7-east) -- node [above] {FC} (out-west);
    \draw [connection] (Fc7-east) -- node [above] {FC} (out-west);

    % cross
    \draw [connection] (kn3-east) -- node {} (Rl3-west);
    \draw [connection] (Kn3-east) -- node {} (rl3-west);

    \draw [connection] (Rl5-east) -- node {} (fc6-west);
    \draw [connection] (rl5-east) -- node {} (Fc6-west);

    \draw [connection] (fc6-east) -- node {} (Fc7-west);
    \draw [connection] (Fc6-east) -- node {} (fc7-west);

\end{tikzpicture}
\end{document}
